import {
	request
} from "./request"
export default {
	// 账号密码登录
	login: (username, password) => {
		console.log()
		return request('/api/c/user/login', {
			username,
			password
		},'POST', false)
	},
	// openid登录
	loginByOpenid: (data) => {
		return request('/api/c/user/loginByOpenid', data,'POST', false)
	}
}